<%@ Page Language="C#" MasterPageFile="~/Administration/main.master" AutoEventWireup="false" Inherits="NopSolutions.NopCommerce.Web.Administration.Administration_ShippingRateComputationMethodDetails" CodeBehind="ShippingRateComputationMethodDetails.aspx.cs" %>
<%@ Register TagPrefix="nopCommerce" TagName="ConfirmationBox" Src="~/Administration/Modules/ConfirmationBox.ascx" %>
<asp:Content ID="c1" ContentPlaceHolderID="cph1" runat="Server">
    <div class="page-header">
        <div class="pull-right">
            <asp:Button ID="SaveButton" runat="server" CssClass="btn" Text="<% $NopResources:Admin.ShippingRateComputationMethodDetails.SaveButton.Text %>" OnClick="SaveButton_Click" ToolTip="<% $NopResources:Admin.ShippingRateComputationMethodDetails.SaveButton.Tooltip %>" />
            <asp:Button ID="SaveAndStayButton" runat="server" CssClass="btn btn-primary" Text="<% $NopResources:Admin.ShippingRateComputationMethodDetails.SaveAndStayButton.Text %>" OnClick="SaveAndStayButton_Click" />
            <asp:Button ID="DeleteButton" runat="server" CssClass="btn btn-danger" Text="<% $NopResources:Admin.ShippingRateComputationMethodDetails.DeleteButton.Text %>" OnClick="DeleteButton_Click" CausesValidation="false" ToolTip="<% $NopResources:Admin.ShippingRateComputationMethodDetails.DeleteButton.Tooltip %>" />
        </div>
        <h1><%=GetLocaleResourceString("Admin.ShippingRateComputationMethodDetails.Title")%> <small><a href="ShippingRateComputationMethods.aspx" title="<%=GetLocaleResourceString("Admin.ShippingRateComputationMethodDetails.BackToMethods")%>"><%=GetLocaleResourceString("Admin.ShippingRateComputationMethodDetails.BackToMethods")%></a></small></h1>
    </div>
    <div class="row-fluid">
        <div class="span12">
            <div class="tabbable">
                <ul class="nav nav-tabs">
                    <li class="active"><a href="#info" data-toggle="tab"><%= GetLocaleResourceString("Admin.ShippingRateComputationMethodDetails.InfoPanel")%></a></li>
                    <li><a href="#config" data-toggle="tab"><%= GetLocaleResourceString("Admin.ShippingRateComputationMethodDetails.ConfigurePanel")%></a></li>
                </ul>
                <div class="tab-content">
                    <div class="tab-pane active" id="info">
                        <div class="form-horizontal">
                            <div class="control-group">
                                <label for="<%= txtName.ClientID %>" class="control-label"><%= GetLocaleResourceString("Admin.ShippingRateComputationMethodInfo.Name") %></label>
                                <div class="controls">
                                    <nopCommerce:SimpleTextBox runat="server" ID="txtName" CssClass="span6" ErrorMessage="<% $NopResources:Admin.ShippingRateComputationMethodInfo.Name.ErrorMessage %>" />
                                    <p class="help-block"><%= GetLocaleResourceString("Admin.ShippingRateComputationMethodInfo.Name.Tooltip") %></p>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="<%= txtDescription.ClientID %>" class="control-label"><%= GetLocaleResourceString("Admin.ShippingRateComputationMethodInfo.Description") %></label>
                                <div class="controls">
                                    <asp:TextBox ID="txtDescription" runat="server" CssClass="span6" TextMode="MultiLine" />
                                    <p class="help-block"><%= GetLocaleResourceString("Admin.ShippingRateComputationMethodInfo.Description.Tooltip") %></p>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="<%= txtConfigureTemplatePath.ClientID %>" class="control-label"><%= GetLocaleResourceString("Admin.ShippingRateComputationMethodInfo.ConfigureTemplatePath") %></label>
                                <div class="controls">
                                    <asp:TextBox ID="txtConfigureTemplatePath" runat="server" CssClass="span6" />
                                    <p class="help-block"><%= GetLocaleResourceString("Admin.ShippingRateComputationMethodInfo.ConfigureTemplatePath.Tooltip") %></p>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="<%= txtClassName.ClientID %>" class="control-label"><%= GetLocaleResourceString("Admin.ShippingRateComputationMethodInfo.ClassName") %></label>
                                <div class="controls">
                                    <nopCommerce:SimpleTextBox runat="server" CssClass="span6" ID="txtClassName" ErrorMessage="<% $NopResources:Admin.ShippingRateComputationMethodInfo.ClassName.ErrorMessage %>" />
                                    <p class="help-block"><%= GetLocaleResourceString("Admin.ShippingRateComputationMethodInfo.ClassName.Tooltip") %></p>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="<%= cbActive.ClientID %>" class="control-label"><%= GetLocaleResourceString("Admin.ShippingRateComputationMethodInfo.Active") %></label>
                                <div class="controls">
                                    <asp:CheckBox ID="cbActive" runat="server" />
                                    <p class="help-block"><%= GetLocaleResourceString("Admin.ShippingRateComputationMethodInfo.Active.Tooltip") %></p>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="<%= txtDisplayOrder.ClientID %>" class="control-label"><%= GetLocaleResourceString("Admin.ShippingRateComputationMethodInfo.DisplayOrder") %></label>
                                <div class="controls">
                                    <nopCommerce:NumericTextBox runat="server" ID="txtDisplayOrder" CssClass="input-mini" Value="1" RequiredErrorMessage="<% $NopResources:Admin.ShippingRateComputationMethodInfo.DisplayOrder.RequiredErrorMessage %>" MinimumValue="-99999" MaximumValue="99999" RangeErrorMessage="<% $NopResources:Admin.ShippingRateComputationMethodInfo.DisplayOrder.RangeErrorMessage %>" />
                                    <p class="help-block"><%= GetLocaleResourceString("Admin.ShippingRateComputationMethodInfo.DisplayOrder.Tooltip") %></p>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="tab-pane" id="config">
                        <asp:PlaceHolder runat="server" ID="ConfigurePlaceHolder" />
                    </div>
                </div>
            </div>
        </div>
    </div>
    <nopCommerce:ConfirmationBox runat="server" ID="cbDelete" TargetControlID="DeleteButton" YesText="<% $NopResources:Admin.Common.Yes %>" NoText="<% $NopResources:Admin.Common.No %>" ConfirmText="<% $NopResources:Admin.Common.AreYouSure %>" />
</asp:Content>
